package org.pzy.java.proxy.static_proxy;

import org.pzy.java.proxy.SmsService;
import org.pzy.java.proxy.SmsServiceImpl;

/**
 * @Author: DRevelation
 * @Date: 2022/2/23 10:36
 */
public class Main {
    public static void main(String[] args) {
        SmsService smsService = new SmsServiceImpl();
        SmsProxy smsProxy = new SmsProxy(smsService);
        smsProxy.send("======Hello Static Proxy======");
    }
}
